package com.cskaoyan.market.admin.service;

import com.cskaoyan.market.admin.vo.DetailGoodsVo;
import com.cskaoyan.market.db.domain.MarketGoods;
import com.cskaoyan.market.db.domain.MarketGoodsAttribute;
import com.cskaoyan.market.db.domain.MarketGoodsProduct;
import com.cskaoyan.market.db.domain.MarketGoodsSpecification;

import java.util.List;
import java.util.Map;

public interface MarketGoodsService {





    Map<String, Object> catAndBrand();

    List<MarketGoods> list(int page, int limit, String goodsSn, String name, String sort, String order, String goodsId);


    DetailGoodsVo detail(String id);

    void delete(String id);

    void update(MarketGoodsAttribute[] attributes, MarketGoods goods, MarketGoodsProduct[] products, MarketGoodsSpecification[] specifications);







    /*  List<MarketGoods> list(int page, int limit, String goodsSn, String name, String sort, String order, int goodsId);
*/

}
